#ifndef JOB_H_
#define JOB_H_
#include "defs.h"

//主要是当数据结构使
class Job {
public:
	int release();
	void add_ref();
	int get_ref();
	bool delete_after_use;
	long timeout;
	std::string name;
	Job();
	virtual void work();
private:
	int _ref;
	~Job();
};

#endif
